/**
 * Copyright 2010 Creative Works, Inc.
 * Creative Works licenses this file to you under the Apache License, version
 * 2.0 (the "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *    http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
 * implied.  See the License for the specific language governing
 * permissions and limitations under the License.
 */
package org.sendvox.freswitch.event;

import org.sendvox.freswitch.event.impl.BaseMessage;

public class ApiMessage extends BaseMessage {

	private static final long serialVersionUID = 6230951222204466368L;

	private static final Event EVENT_NAME = Event.API;

	private String apiCommand;
	private String apiCommandArgument;

	@Override
	public Object getThis() {
		return this;
	}

	@Override
	public Event getEventName() {
		return EVENT_NAME;
	}

	/**
	 * @return the apiCommand
	 */
	public String getApiCommand() {
		return apiCommand;
	}

	/**
	 * @param apiCommand
	 *            the apiCommand to set
	 */
	public void setApiCommand(String apiCommand) {
		this.apiCommand = apiCommand;
	}

	/**
	 * @return the apiCommandArgument
	 */
	public String getApiCommandArgument() {
		return apiCommandArgument;
	}

	/**
	 * @param apiCommandArgument
	 *            the apiCommandArgument to set
	 */
	public void setApiCommandArgument(String apiCommandArgument) {
		this.apiCommandArgument = apiCommandArgument;
	}

}
